<header class="header-wrap">
  <div class="header">
    <div class="banner cf" role="banner">
      <div class="col-minus">
        <div class="weather cf" data-weather-domain="weather.smh.com.au" data-personalise="true">
          <div class="weather-wrap hidden"> <a class="weather-type-image w2" href="<?php echo base_url(); ?>">Weather maps and forecasts</a>
            <p class="location">Sydney</p>
            <div class="dropdown-panel">
              <button class="dropdown-panel-toggle" title="change location" aria-owns="box-weather" aria-haspopup="true"><span class="icon ddown" aria-hidden="true"></span></button>
            </div>
            <p class="temps temp-now">Now <em>17&deg;</em></p>
            <p class="temps temp-max" data-ismax="true"> Max <em>22&deg;</em> </p>
            <p class="forecast">Showers</p>
            <p class="warning"> </p>
            <p class="traffic"><a href="#" title="Traffic Conditions">Traffic Conditions</a></p>
          </div>
        </div>
      </div>
      <div class="col-plus-two">
        <a href="<?php echo base_url();?>"><img src="<?php echo base_url();?>public/images/logo.jpg" width="200" alt="" /></a>
      </div>
      <div class="col-minus last">
        <a href=""><img src="<?php echo base_url();?>public/images/6842920828403325223.gif" alt=""></a>
      </div>
    </div>
  </div>
</header>
<div class="mySite">
<div class="ms-toolbarWrap">
  <div class="ms-toolbar clearfix">
	  <script type="text/javascript">
	  	$(document).ready(function(){
	  		$(".inactive li a").each(function(){
	  		url = location.href.toLowerCase();
	  		if (this.href.toLowerCase() == url) {
	  			$(".inactive li a").removeClass("sub_active");
	  			$(this).addClass("sub_active");
	  		  }
	  		 });
	  	});
	  </script>
    <ul class="inactive" style="width:100%">
      <li><a class="sub_active" href="<?php echo base_url();?>" title="Trang chủ"><span class="icon clippings"></span>Trang chủ</a></li>
      <?php if(isset($listcate)){ ?>
      <?php $stt=1; foreach($listcate as $menu){ ?>
      <li><a href="<?php echo base_url().$menu['rewrite']; ?>.html" title="<?php echo $menu['names']; ?>"><span class="icon clippings"></span><?php echo $menu['names']; ?></a></li>
      <?php } } ?>
      <li class="account last demo">
	        <a href="javascript:void(0)" title="Xem thêm danh mục khác"><span class="icon news"></span>Xem thêm</a>
			<div class="demo-tooltip"><p>Click để xem thêm các danh mục khác</p></div>
      </li>
      <!--li><a href="" title="My Clippings"><span class="icon clippings"></span>My Clippings </a> </li>
      <li><a href="" title="My Comments"><span class="icon comments"></span>My Comments </a> </li>
      <li><a href="" title="My History"><span class="icon history"></span>My History </a> </li>
      <li><a href="" title="My Benefits"><span class="icon benefits"></span>My Benefits </a> </li-->
    </ul>
    <!--ul class="alt">
      <li><a class="btn" href="#">Subscribe</a> </li>
      <li><a class="btn" href="<?php echo base_url();?>dang-nhap.html">Log in</a> </li>
      <li><a class="btn" href="<?php echo base_url();?>dang-ky-tai-khoan.html" id="demo-btn">Register</a> </li>
    </ul-->
  </div>
</div>
</div>